# Maintainer: Jonathan Sieber <mail@strfry.org>
pkgname=toxic
pkgver=0.13.0
pkgrel=0
pkgdesc="ncurses-based Tox client"
url="https://github.com/JFreegman/toxic"
arch="all"
license="GPL-3.0-or-later"
options="!check"
subpackages="$pkgname-doc"
makedepends="
	curl-dev
	libconfig-dev
	libnotify-dev
	libqrencode-dev
	libvpx-dev
	libx11-dev
	linux-headers
	ncurses-dev
	openal-soft-dev
	opus-dev
	toxcore-dev
	"
source="$pkgname-$pkgver.tar.gz::https://github.com/JFreegman/toxic/archive/v$pkgver.tar.gz"

build() {
	make
}

package() {
	make PREFIX="$pkgdir"/usr install
}

sha512sums="
f465700eb03d13171ade04baa7a365131f12d0cd9e3a239ffe415087253c95af5a9bd7844f98c199a899e2c0fcfcff9c483c967e4373854599be2fb1d80fd29c  toxic-0.13.0.tar.gz
"
